Skip to content

hotfix(docs): MAJOR.MINOR docs slugs; retire the duplicate 'main' docs version - #414

Merged
andrewjong merged 1 commit into
mainfrom
hotfix/docs-version-selector
Aug 29, 2026
Merged

hotfix(docs): MAJOR.MINOR docs slugs; retire the duplicate 'main' docs version#414
andrewjong merged 1 commit into
mainfrom
hotfix/docs-version-selector

Conversation

@andrewjong

Copy link
Copy Markdown
Member

Fixes the duplicated version-selector entries ("0.20.0" at /0.20.0/ and "0.20.0 (stable)" at /main/) by moving docs versions to MAJOR.MINOR slugs whose selector title carries the full patch version:

  • deploy_docs_from_main.yaml — deploys main's docs onto the X.Y slug from .env (--title X.Y.Z, alias latest, set-default latest) instead of a separate main version. A docs hotfix republishes /0.20/ in place and retitles the entry (e.g. 0.20.00.20.2), so URLs never break within a minor line.
  • deploy_docs_from_release.yaml — same scheme (tag 0.21.0/0.21/), plus set-default latest.
  • Release-notes hook — now trims by MAJOR.MINOR, so a /0.20/ build shows the 0.20.0 section plus any 0.20.x hotfix sections (unit-tested locally against synthetic markdown).
  • docs_reorder_versions.py — pins only develop to the top of the selector (develop stays above stable, per Andrew).
  • Bonus fix — the sync workflow's bump commit message was "Bump VERSION to " (empty): GITHUB_ENV exports only apply to later steps, so the version is now read from .env in the commit command.
  • VERSION 0.20.10.20.2 (CI/docs-only; bump required by the gate). Skill + OpenHands microagent references updated.

After merging (I'll handle it): one-time gh-pages cleanup — delete the main and 0.20.0 versions, migrate 0.19.00.19. The merge itself triggers the new main deploy (creates /0.20/ titled 0.20.2) and the auto-sync into develop (expect 0.21.0-dev.2 with a correctly-worded bump commit message this time).

Squash-merge is fine.

🤖 Generated with Claude Code

…s version

The version selector showed the same release twice: '0.20.0' (release
deploy) and '0.20.0 (stable)' (the main-branch deploy at /main/). Docs
versions now use MAJOR.MINOR slugs (/0.20/) with the selector title
carrying the full patch version:

- deploy_docs_from_main.yaml: deploys main's docs onto the X.Y slug from
  .env with --title X.Y.Z + latest alias, and sets the site default to
  'latest' (was: separate 'main' version + set-default main). A docs
  hotfix republishes the slug in place and retitles the entry, so URLs
  never break within a minor line.
- deploy_docs_from_release.yaml: same slug scheme (tag 0.21.0 → /0.21/),
  plus set-default latest.
- release_notes_current_version.py hook: match sections by MAJOR.MINOR,
  so a /0.20/ build shows the 0.20.0 section plus any 0.20.x hotfix
  sections.
- docs_reorder_versions.py: pin only 'develop' to the top (no 'main'
  entry to pin anymore).
- sync-develop-from-main.yaml: read NEW_VERSION from .env for the bump
  commit message — GITHUB_ENV exports only apply to later steps, so the
  message said 'Bump VERSION to  ' (empty).
- Skill + microagent references updated. VERSION 0.20.1 → 0.20.2 (CI/
  docs-only change; bump required by the PR gate).

One-time gh-pages cleanup after this merges: delete the 'main' and
'0.20.0' versions, migrate '0.19.0' → '0.19'.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@andrewjong
andrewjong merged commit 4c27432 into main Aug 29, 2026
4 checks passed
andrewjong added a commit that referenced this pull request Aug 29, 2026
…20/)

One-time cleanup for the MAJOR.MINOR slug scheme (#414):
stable docs now live at /0.20/ (alias: latest, site default). The 'main'
and '0.20.0' copies duplicated it in the version selector.
@github-actions

Copy link
Copy Markdown
Contributor

Test Metrics — 2b71e4f74c48f276a2ab9fdf2526e74fe1b9f848

This was a unit/build-only run. Simulation regression comparison does not apply.

system.test_build_packages

Pass rates

Test Pass Fail Skip Rate
test_colcon_build_gcs 1 0 0 100%
test_colcon_build_ms_airsim 1 0 0 100%
test_colcon_build_robot 1 0 0 100%
test_colcon_test_robot 1 0 0 100%

Metrics

Test Metric Value
test_colcon_build_robot duration_s 90.28s
test_colcon_test_robot duration_s 41.12s
test_colcon_build_gcs duration_s 87.28s
test_colcon_build_ms_airsim duration_s 15.24s

@andrewjong
andrewjong deleted the hotfix/docs-version-selector branch August 29, 2026 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant